export default [{
  path: '/',
  redirect: '/home',
  component: () => import('@/layout/index.vue'),
  children: [{
    path: '/home',
    name: 'home',
    component: () => import('@/views/Home/index.vue'),
    meta: {
      title: '',
      isShow: true,
      keepAlive: false
    }
  }, {
    path: '/home/goods',
    component: () => import('@/views/Goods/goodsList.vue'),
    meta: {
      title: '商品列表',
      isShow: false,
      keepAlive: false
    }
  }, {
    path: '/home/goodsInfo/:id',
    props: true,
    component: () => import('@/views/Goods/goodsInfo.vue'),
    meta: {
      title: '商品详情页',
      isShow: false,
      keepAlive: false
    }
  }, {
    path: '/home/epidemic',
    component: () => import('@/views/epidemic/index.vue'),
    meta: {
      title: '实时疫情',
      isShow: true,
      keepAlive: false
    }
  }, {
    path: '/home/friends',
    component: () => import('@/views/Friends/friendslist.vue'),
    meta: {
      title: "交友列表",
      isShow: false,
      keepAlive: true
    }
  }, {
    path: '/home/friendsinfo/:id',
    component: () => import('@/views/Friends/friendsinfo.vue'),
    meta: {
      title: "好友留言",
      isShow: false,
      keepAlive: true
    },
    props: true
  }, {
    path: '/home/cart',
    component: () => import('@/views/Cart/cartList.vue'),
    meta: {
      title: "我的购物车",
      keepAlive: true
    }
  }, {
    path: '/home/detail/:item',
    component: () => import('@/views/epidemic/detail.vue'),
    meta: {
      title: '疫情详情',
      isShow: true,
      keepAlive: false
    },
    props: true
  }, {
    path: '/home/photo',
    component: () => import('@/views/Photo/photo.vue'),
    meta: {
      title: '图片分享',
      isShow: false,
      keepAlive: false
    }
  }, {
    path: '/home/news',
    component: () => import('@/views/News/newslist.vue'),
    meta: {
      title: "新闻列表",
      isShow: false,
      keepAlive: false
    }
  }, {
    path: '/home/newsinfo/:title',
    component: () => import('@/views/News/newsinfo.vue'),
    meta: {
      title: "新闻详情",
      isShow: false,
      keepAlive: false
    },
    props: true
  }, {
    path: '/home/search',
    component: () => import('@/views/Search/index.vue'),
    meta: {
      title: "搜索商品",
      isShow: false,
      keepAlive: false
    }
  }, {
    path: '/home/photoInfo',
    component: () => import('@/views/Photo/photoInfo.vue'),
    meta: {
      title: '图片列表',
      isShow: false,
      keepAlive: false
    }
  }, {
    path: '/home/message',
    component: () => import('@/views/message/index.vue'),
    meta: {
      title: '留言反馈',
      isShow: true,
      keepAlive: false
    }
  }, {
    path: '/home/wode',
    component: () => import('@/views/Wode/index.vue'),
    meta: {
      title: '我的fourth-mall',
      isShow: true,
      keepAlive: true
    }
  }, {
    path: '/home/payment',
    component: () => import('@/views/Order/payment.vue'),
    meta: {
      title: '待支付订单',
      isShow: false,
      keepAlive: true
    }
  }, {
    path: '/home/address',
    component: () => import('@/views/Address/index.vue'),
    meta: {
      title: '我的收货地址',
      isShow: false,
      keepAlive: true
    }
  }, {
    path: '/home/addAddr',
    component: () => import('@/views/Address/addAddr.vue'),
    meta: {
      title: '新增收货地址',
      isShow: false,
      keepAlive: true
    }
  }, {
    path: '/home/undeliver',
    component: () => import('@/views/Order/undeliver.vue'),
    meta: {
      title: '待发货订单',
      isShow: false,
      keepAlive: true
    }
  }, {
    path: '/home/allOrder',
    component: () => import('@/views/Order/allOrder.vue'),
    meta: {
      title: '所有订单',
      isShow: false,
      keepAlive: true
    }
  }, {
    path: '/home/concat',
    component: () => import('@/views/Concat/index.vue'),
    meta: {
      title: '联系我们',
      isShow: false,
      keepAlive: false
    }
  }]
}]
